home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20021006-20030409
/
000036_pytcayrn@freemail.hu_Mon Oct 28 09:57:20 EST 2002.msg
< prev
next >
Wrap
Text File
|
2003-04-08
|
1KB
|
34 lines
Article: 13799 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: pytcayrn@freemail.hu
Newsgroups: comp.protocols.kermit.misc
Subject: redirect io to external cmd (like cu "~|cmd" and "~$cmd")
Date: 28 Oct 2002 06:43:00 -0800
Organization: http://groups.google.com/
Lines: 16
Message-ID: <86c66124.0210280643.30d17ab6@posting.google.com>
NNTP-Posting-Host: 193.225.155.254
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1035816180 7959 127.0.0.1 (28 Oct 2002 14:43:00 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 28 Oct 2002 14:43:00 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13799
Hi,
In C-kermit 7.0 (HP-UX), how can I redirect binary data coming from a
directly connected device on /dev/tty0p2 to an external application
like "od -tx1", so that decoded hexa numbers should appear on the
screen after I issue a "CONNECT" command?
And how can I do the reverse:
starting an external command whose output is dumped to the serial
line?
These functions exist in "cu" ("~|cmd" and "~$cmd") but using them in
kermit would be more convenient.
Thanks in advance,
tamas